


#include "log.h"


D_LOG_DOMAIN(main_case,"this is a case, how to use");



int test_long_name_funcion()
{
   
     csvt_i("msdn.microsoft.com/zh-cn/library/503x3e3s.aspx \nwww.360doc.com/relevant/97428585_more.shtml");
     return 0;
}


int test_flex_var(const char *format,...)
{
	char buf[1024];
	va_list arg;
	va_start(arg, format); 
	vsprintf(buf,format,arg);
	va_end(arg);
	printf("%s",buf);
}

#define  test_macro(x...) test_flex_var(x)
int main()
{
    
     int rc;


     //CSVT.E(&CSVT,__FILE__,"msg");
	 //csvt_e("%d msdn.microsoft.com/zh-cn/library/503x3e3s.aspx \nwww.360doc.com/relevant/97428585_more.shtml",10000);
	 modules_init();
	// test_long_name_funcion();
	 //test_flex_var(" this is number:%d",100);
	 //test_macro( "test_macro is number:%d\n",100);
	 //csvt_w("%d,%s",123,"say warning");
	 
        
   //char *name="main%p";
   //csvt_w("%s\n",name);
}
